﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DoeObjects
{
    /// <summary>
    /// Status for loanables
    /// </summary>
    public enum Status
    {
        /// <summary>
        /// Book is available
        /// </summary>
        AVAILABLE = 0,

        /// <summary>
        /// Book is currently borrowed
        /// </summary>
        BORROWED = 1,

        /// <summary>
        /// the loanable is reserved
        /// </summary>
        RESERVED = 2,

        /// <summary>
        /// the loanable is available, but locked from the owner cause of a recall/mark as unavailable
        /// </summary>
        UNAVAILABLE_FROM_OWNER = 3,

        /// <summary>
        /// the loanable is currently recalled (borrowed but ordered back from the owner)
        /// </summary>
        RECALLED = 4,

		/// <summary>
		/// the loanable has been deleted
		/// </summary>
		DELETED = 5,

        /// <summary>
        /// fallback
        /// </summary>
        UNKNOWN = -1
    }
}
